import 'package:flutter/material.dart';
import 'package:smart_home/utils/color_utils.dart';
import '../utils/extension/double.dart';

final textStyle = TextStyle(
    color: Colors.white, fontSize: 24.px, fontWeight: FontWeight.w600);

List<Widget> commonTitleBox(){
  return [
    RichText(
      text: TextSpan(style: textStyle, text: "欢迎来到", children: [
        TextSpan(
            text: "房至尊",
            style: TextStyle(
                color: ColorsUtil.hexColor(0xecda56),
                fontSize: 24.px,
                fontWeight: FontWeight.w600)),
      ]),
    ),
    Text(
            "很高兴您来到这里",
            style: textStyle,
          )
  ];
}